<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<script type="text/javascript">
function validate()
{

if(form.t1.value=="")
{
alert("Theatre no is Required");
form.t1.focus();
form.t1.value="";
return false;
}
var a=/^[0-9]+$/;
if(!form.t1.value.match(a))
{
alert("please enter in numbers only");
form.t1.focus();
form.t1.value="";
return false;
}

 if(form.t2.value=="")
{
alert("Theatre name is Required");
form.t2.focus();
form.t2.value="";
return false;
}  
var a=/^[a-zA-Z]+$/;
if(!form.t2.value.match(a))
{
alert("enter only charactors");
form.t1.focus();
form.t1.value="";
return false;
}
if(form.t3.value=="")
{
alert("Location is Required");
form.t3.focus();
form.t3.value="";
return false;
}  
 if(form.t4.value=="")
{
alert("Address is Required");
form.t4.focus();
form.t4.value="";
return false;
}  
 if(form.t5.value=="")
{
alert("Movie name is Required");
form.t5.focus();
form.t5.value="";
return false;
}  
 if(form.t7.value=="")
{
alert("Morning show is Required");
form.t7.focus();
form.t7.value="";
return false;
}  
 if(form.t8.value=="")
{
alert("Noon show is Required");
form.t8.focus();
form.t8.value="";
return false;
}  
 if(form.t9.value=="")
{
alert("First show is Required");
form.t9.focus();
form.t9.value="";
return false;
}  
 if(form.t10.value=="")
{
alert("Second show is Required");
form.t10.focus();
form.t10.value="";
return false;
}  
 if(form.t11.value=="")
{
alert("Contact no is Required");
form.t11.focus();
form.t11.value="";
return false;
}  
var a=/^[0-9]+$/;
if(!form.t11.value.match(a))
{
alert("please enter in numbers only");
form.t11.focus();
form.t11.value="";
return false;
}

 if(form.t12.value=="")
{
alert("Hero is Required");
form.t12.focus();
form.t12.value="";
return false;
}  
 if(form.t13.value=="")
{
alert("Movie type is Required");
form.t13.focus();
form.t13.value="";
return false;
}  


return true;
}
</script>

<TITLE></TITLE>
</HEAD>
<BODY background="images/17.jpg">
<form action="cinemas.jsp" method="post" name="form" onsubmit="return validate()"><br>
  <H1 disabled align=center><FONT color=deepskyblue size=5>Wel come To Sunday Cinema</FONT></H1>
<P align=center ><br>
<TABLE border=1 cellPadding=1 cellSpacing=1 style="HEIGHT: 344px; WIDTH: 413px" 
width="75%">
  
  <TR>
    <TD><STRONG>Theatre No</STRONG></TD>
    <TD><INPUT id=text2 name="t1"></TD></TR>
  <TR>
    <TD><STRONG>Theatre Name</STRONG></TD>
    <TD><INPUT id=text1 name="t2"></TD></TR>
  <TR>
    <TD><STRONG>Location</STRONG></TD>
    <TD><INPUT id=text3 name="t3"></TD></TR>
  <TR>
    <TD><STRONG>Address</STRONG></TD>
    <TD><INPUT id=text4 name="t4"></TD></TR>
  <TR>
    <TD><STRONG>Movie Name</STRONG></TD>
    <TD><INPUT id=text5 name="t5"></TD></TR>
  <tr>
      <td width="41%" height="44"><STRONG>Movie Language&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</STRONG></td>
      <td width="34%" height="44"><FONT color=#ae0000>
		<SELECT id=select1 
name=uniname style="HEIGHT: 22px; WIDTH: 129px"> 

<option value='English'>English</option>
 
<option value='Hindi'>Hindi</option>
<option value='Telugu'>Telugu</option>

</SELECT>
		</FONT></td>
      <td width="25%" height="44"></td>
    </tr>
    
  <!--<TR>
    <TD><STRONG>Movie Language</STRONG></TD>
	<SELECT name=text5 Language size=1 tabIndex=7> 
       <OPTION value=Male>English
	   <OPTION value=Female>Hindi
      <OPTION value=Female>Telugu
	  </OPTION></SELECT></FONT></td>
    <TD><INPUT id=text6 name=t6></TD></TR>
  <TR>-->
    <TD><STRONG>Morning Show</STRONG></TD>
    <TD><INPUT id=text7 name="t7"></TD></TR>
  <TR>
    <TD><STRONG>Noon Show</STRONG></TD>
    <TD><INPUT id=text8 name="t8"></TD></TR>
  <TR>
    <TD><STRONG>First Show</STRONG></TD>
    <TD><INPUT id=text9 name="t9"></TD></TR>
  <TR>
    <TD><STRONG>Second Show</STRONG></TD>
    <TD><INPUT id=text10 name="t10"></TD></TR>
  <TR>
    <TD><STRONG>Phone Number(STD)</STRONG></TD>
    <TD><INPUT id=text11 name="t11" maxlength="5"></TD></TR>
  <TR>
    <TD><STRONG>Hero</STRONG></TD>
    <TD><INPUT id=text12 name="t12"></TD></TR>
  <TR>
    <TD><STRONG>Movie Type</STRONG></TD>
    <TD><INPUT id=text13 name="t13"></TD></TR>
  <TR>
    <TD></TD>
    <TD>
      <P>&nbsp;</P>
      <P><INPUT id=submit1 name="submit1" style="BACKGROUND-COLOR: floralwhite" type=submit value="  Add  ">&nbsp;&nbsp;&nbsp;&nbsp; 
<INPUT id=reset1 name=reset1 style="BACKGROUND-COLOR: floralwhite" type=reset value=Reset></P></TD></TR></TABLE></P>
</form>

</BODY>
</HTML>
